<?php

namespace app\index\validate;
use think\Validate;

class Turn extends Validate
{
    protected $rule = [
        'num'       => 'require|float',
        'paypass'   => 'require',
    ];

    protected $message = [
        'num.require'       => '请输入转账金额',
        'num.float'         => '转账金额不合法',
        'paypass.require'   => '请输入安全密码',
    ];
}